package com.danceforyou.receipt.service;

import com.danceforyou.common.service.BaseService;
import com.danceforyou.receipt.dao.ReceiptVoucherDAO;
import com.danceforyou.receipt.model.ReceiptVoucherDO;
import com.danceforyou.receipt.vo.ReceiptVoucherVO;

/**
 * 类名称：ReceiptVoucherService
 * 创建人：danceforyou
 * 创建时间：2021年02月07日
 * 版本号：1.0v
 */
public interface ReceiptVoucherService extends BaseService<Long, ReceiptVoucherDO, ReceiptVoucherVO, ReceiptVoucherDAO> {

    /**
     * 新增信息
     * @param receiptVoucher 信息
     */
    void saveInfo(ReceiptVoucherDO receiptVoucher);

    /**
     * 修改信息
     * @param receiptVoucher 信息
     */
    void updateInfo(ReceiptVoucherDO receiptVoucher);

    /**
     * 删除信息
     * @param ids 主键
     * @return 删除条数
     */
    int deleteInfoByIds(String ids);
}